package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallKeyword;
import com.ctsi.ssdc.domain.LitemallKeywordExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallKeywordRepository extends BaseRepository<LitemallKeyword, Integer, LitemallKeywordExample> {
    @Override
    long countByExample(LitemallKeywordExample example);

    @Override
    int deleteByExample(LitemallKeywordExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallKeyword record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallKeyword record);

    @Override
    List<LitemallKeyword> selectByExample(LitemallKeywordExample example);

    @Override
    LitemallKeyword selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallKeyword record, @Param("example") LitemallKeywordExample example);

    @Override
    int updateByExample(@Param("record") LitemallKeyword record, @Param("example") LitemallKeywordExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallKeyword record);

    @Override
    int updateByPrimaryKey(LitemallKeyword record);

    LitemallKeyword selectOneByExample(LitemallKeywordExample example);

    List<LitemallKeyword> selectByExampleSelective(LitemallKeywordExample example, LitemallKeyword.Column keyword);
}